package Mysql;

import View.ChatWindow;
import View.GroupChatWindow;
import instruction.Group;
import instruction.User;
import instruction.UserData;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public class ShareData {
    public static final Map<String, User> UserMap=new HashMap<>();
    public static final Map<String, UserData> UserDataMap=new HashMap<>();//存储用户的各种数据
    public static final Map<String, User> LoginUser=new HashMap<>();//存储user
    public static final ArrayList<ChatWindow> chatWindowList=new ArrayList<>();//存储私聊窗口
    public static final Map<String,ArrayList<User>> groupMemberMap=new HashMap<>();//存储群里的成员
    public static final ArrayList<GroupChatWindow> groupChatWindowList=new ArrayList<>();//存储群聊窗口
    public static final Map<String, Group> groupMap=new HashMap<>();//存储群

}
